home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 10
/
Amoszine 10 (Disk 3 of 3).adf
/
Amos_Procs.lha
/
Mousetrap.proc
/
Mousetrap.amosSourceCode
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
AMOS Source Code
|
1991-12-03
|
237 b
|
13 lines
Procedure MOUSETRAP
' By John Smit
' Used to Halt Program execution while the mouse is moving
'
X1=-1 : Y1=-1
Repeat
X=X1
Y=Y1
Wait 5
X1=X Mouse
Y1=Y Mouse
Until X1=X and Y1=Y
End Proc